package com.zy.explore.generator.infrastructure.constant;

/**
 * description 项目常量类
 *
 * @author 🇨🇳中国印🇨🇳
 * @date 2022年01月15日 16:31:23
 */
public class ProjectConstant {

    /**
     * 应用名称
     */
    public static final String APPLICATION_NAME = "zy-generator";

    /**
     * java类基包
     */
    public static final String SRC_MAIN_JAVA = "/src/main/java";

    /**
     * 资源类基包
     */
    public static final String SRC_MAIN_RESOURCES = "/src/main/resources";

    /**
     * mysql实例连接URL模板
     */
    public static final String MYSQL_INSTANCE_URL = "jdbc:mysql://%s:%s?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&user=%s&password=%s";

    /**
     * mysql数据库连接URL模板
     */
    public static final String MYSQL_DB_URL = "jdbc:mysql://%s:%s/%s?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&user=%s&password=%s";

    /**
     * DDD架构砖块模板基路径
     */
    public static final String DDD_BRICK_TEMPLATE_BASE_PATH = "/generator/brick/ddd";

    /**
     * MVC架构砖块模板基路径
     */
    public static final String MVC_BRICK_TEMPLATE_BASE_PATH = "/generator/brick/mvc";
}
